package com.pactera.madp.cp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.cp.api.dto.workroom.WorkMassMsgDetailsPageDTO;
import com.pactera.madp.cp.api.dto.workroom.WorkMassMsgPageDTO;
import com.pactera.madp.cp.api.entity.workroom.WorkMassMsgEntity;
import com.pactera.madp.cp.api.vo.workroom.WorkMassMsgDetailsListVO;
import com.pactera.madp.cp.api.vo.workroom.WorkMassMsgDetailsVO;
import com.pactera.madp.cp.api.vo.workroom.WorkMassMsgPageVO;

import javax.servlet.http.HttpServletResponse;
import java.io.OutputStream;
import java.util.List;

/**
 * WorkMassMsgService
 *
 * @author jun
 * @version 1.0
 * 2021/7/13 10:25
 **/
public interface WorkMassMsgService extends IService<WorkMassMsgEntity> {

    void syncGroupMsgList(Integer types);

    Page<List<WorkMassMsgPageVO>> getPageList(Page page, WorkMassMsgPageDTO dto);

    WorkMassMsgDetailsVO getDetailsByMassId(Integer massId);

    Page<List<WorkMassMsgDetailsListVO>> getDetailsByMassIdList(WorkMassMsgDetailsPageDTO dto, Page page);

    void exitExcelList(WorkMassMsgPageDTO dto, HttpServletResponse response, OutputStream out);

}
